package tako.wisers.com.android.apis.util;

public class Global {
	// intent key
	public static final String ITEM_KEY = "item";
	public static final String URL_KEY = "url";
	public static final String INTENT_KEY = "intent";
	public static final String KEYWORD_KEY = "keyword";
	public static final String VIEW_ID_KEY = "id";
	public static final String DISPALY_ID_KEY = "type";
	public static final String LATITUDE_E6_EXTRA = "latitudeE6";
	public static final String LONGITUDE_E6_EXTRA = "longitudeE6";
	public static final String ROUTE_MODE = "r_mode";

	// activity key
	public static final String NEWS_INTENT_ACTIVITY = "tako.wisers.com.android.apis.activity.NewsAbstract";
	public static final String PHOTO_INTENT_ACTIVITY = "tako.wisers.com.android.apis.activity.ViewImage";
	public static final String STATION_INTENT_ACTIVITY = "tako.wisers.com.android.apis.activity.StationInfoActivity";

	// handler key
	public static final String NEWS_HANDLER = "tako.wisers.com.android.apis.handler.NewsHandler";
	public static final String PHOTO_HANDLER = "tako.wisers.com.android.apis.handler.PanoramioHandler";
	public static final String STATION_HANDLER = "tako.wisers.com.android.apis.handler.StationSwitchHandler";
	
	//route conf
	public final static String DRIVE_FLAG = "d";
	public final static String DRIVE_MODE = "driving";
	public final static String WALK_FLAG = "w";
	public final static String WALK_MODE = "walking";

	//bottom type
	public static final int IIID_DISPLAY = 0;
	public static final int MAP_DISPLAY = 1;
	public static final int LIST_DISPLAY = 2;
	
	// conf key
	public final static String CONF_APIKEY = "google.map.api.key";
	public final static String PANORAMIO_SERVICE_KEY = "panoramio.service.url";
	public final static String ROUTE_SERVICE_KEY = "route.service.utl";
	public final static String VERSION_KEY = "version";
	public final static String CONF_HOST_DEFAULT = "conf.xml.host.default";
	public final static String CONF_ATTR = "conf.xml.attr";
	public final static String STATION_HOST_DEFAULT = "station.service.host.default";
	public final static String STATION_ATTR_ITEMS = "station.service.attr.items";
	public final static String STATION_ATTR_LUCKY = "station.service.attr.lucky";

	public static final float MILLION = 1000000;

	//dialog type
	public static final int EXIT_DIALOG = 0;
	public static final int READ_DIALOG = 1;
	public static final int RESTART_DIALOG = 2;
	public static final int WAITING_DIALOG = 3;

	// path conf
	public static final String DATA_PATH = "/sdcard/data/Tako";
	public static final String CONF_PATH = "/tako/wisers/com/android/apis/conf";
	public static final String DOWNLOAD_CONFIG_PATH = "/sdcard/data/Tako/download.xml";
	
	//thread conf
	public static final int MAX_BITMAP_LOAD_SIZE = 5;
	
	//preference
	public static final String CONF_EDITOR_PREFERENCE = "edit_conf";
	public static final String CONF_ROOT_PREFERENCE = "conf_root";
	public static final int CONF_DOWNLOAD_TYPE = 0;
	
	//service type
	public static final String STATION_SERVICE_KEY = "station";
	

}
